The pericardium has a parietal and a visceral layer which form a double-layered sac in which the heart sits.
The parietal pericardium is the outer layer and is attached to mediastinal structures whilst the visceral pericardium is fused to the heart itself.
Between the layers lies a potential space known as the pericardial space which possesses a thin, lubricating film of pericardial fluid.
The parietal and serous layers fuse into one another in an irregular ring surrounding the great vessels.
Reference